module Cpanel::AdminsHelper
  def cpanel_admins_roles_name(admin)
    admin.roles.pluck(:name).map { |role_name| AnAnCommon.resources[role_name] }.join(',')
  end
end
